//
//  KSKARizumuTool.m
//  DashboardHD
//
//  Created by 楊亜玲 on 17/3/27.
//  Copyright © 2017年 Totyu. All rights reserved.
//

#import "KSKARizumuTool.h"


@implementation KSKARizumuTool

+(void)rizumuWeekListWithParam:(KSKARizumuParam *)param success:(void (^)(NSArray *array))success failure:(void (^)(NSError *error))failure{
    [KSKAHttpTool postWithURL:@"https://mimamori2.azurewebsites.net/dashboard/zwgetweeklylrinfo.php" params:param.mj_keyValues success:^(id json) {
        if (success) {
            
            NSArray *tmpArr = [json objectForKey:@"lrlist"];


            success(tmpArr);
            
        }
    } failure:^(NSError *error) {
        if (failure) {
            failure(error);
        }
    }];
}


@end
